using System;

namespace OpenCalais.Domain
{
    /// <summary>
    /// The type of an extracted mention of various relationships between people, such as Military, Romantic, etc.
    /// </summary>
    [RDFAbout("http://s.opencalais.com/1/type/em/r/PersonRelation")]
    public class PersonRelation
  : Resource  {
        /// <summary>
        /// Normalized date mentioned in text, either explicitly or relative to a DateString
        /// </summary>
        [RDFAbout("http://s.opencalais.com/1/pred/date")]
        public DateTime Date { get; set; }

        /// <summary>
        /// Normalized date mentioned in text, either explicitly or relative to a DateString
        /// </summary>
        [RDFAbout("http://s.opencalais.com/1/pred/datestring")]
        public string DateString { get; set; }

        /// <summary>
        /// Type of relationship between two people. For example: business, Academic Military, Romantic, etc.
        /// </summary>
        [RDFAbout("http://s.opencalais.com/1/pred/personrelationtype")]
        public string PersonRelationType { get; set; }
    }
}